<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="keywords" content="<?php echo $SystemSettings['setsys11']; ?>"/>
    <meta name="description" content="<?php echo $SystemSettings['setsys12']; ?>"/>
    <title><?php echo $SystemSettings['setsys1']; ?></title>
    <!--使用最新浏览器内核进行渲染-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--默认浏览器使用极速模式选软-->
    <meta name="renderer" content="webkit">
    <!--不允许缩放-->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <!-- Bootstrap -->
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/ysxc-common.css">
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/ysxc-everything.css">
    <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/animate.min.css"/>
    <link rel="stylesheet" href="<?php echo TPLPATH; ?>css/ysxc-response.css"/>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 8]>
    <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
    <![endif]-->
    <!--[if lt IE 9]>
    <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <!--导航条头部，logo+折叠展开按钮-->
        <div class="navbar-header">
            <a class="navbar-brand hidden-xs  logo " href="/ysxc-index.html">
                <img class=" img-responsive" src="<?php echo TPLPATH; ?>images/yuanshanxiangcao/logo.png" alt="原山香草"/>
            </a>
            <a class="navbar-brand visible-xs text-center" href="/ysxc-index.html">原山香草</a>
            <button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar" style="background: #bf0ee5"></span>
                <span class="icon-bar" style="background: #bf0ee5"></span>
                <span class="icon-bar" style="background: #bf0ee5"></span>
            </button>
        </div>
        <!--折叠菜单-->
        <div class="collapse navbar-collapse" role="navigation">
            <ul class="nav navbar-nav pull-left">
                <li><a href="/index.html">黔韵原山</a></li>
                <li class="active"><a href="/ys/jieshao.html">关于香草</a></li>
                <li><a href="/ys/gainian.html">香草世界</a></li>
                <li><a href="/ys/product_1.html">香草产品</a></li>
                <li><a href="/ys/chanye.html">香草产业</a></li>
                <li><a href="/ys/chi.html">香草养生</a></li>
                <li><a href="/ys/news_1.html">新闻活动</a></li>
            </ul>
        </div>
    </div>
</nav>
<!--banner轮播-->
<div class="banner">
    <div id="carousel" class="carousel slide" data-ride="carousel">
        <ol class="carousel-indicators">
            <?php $linksid = getlinksdata(98) ?>
            <?php foreach($linksid as $key=>$val){ ?>
            <li<?php if($key==0){ ?> class="active"<?php }?> data-target="#carousel" data-slide-to="<?php echo $key; ?>"></li>
            <?php }?>

        </ol>
        <div class="carousel-inner" role="listbox">
            <?php $linksid = getlinksdata(98) ?>
            <?php foreach($linksid as $key=>$val){ ?>
            <div <?php if($key==0){ ?> class="item active" <?php }else{ ?>class="item"{/else}<?php }?> id="carousel<?php echo $key+1; ?>">
            <a href="<?php echo $val['sen_links6']; ?>"><img src="<?php echo $val['sen_links5']; ?>" alt="..."></a>
        </div>
        <?php }?>
    </div>
</div>
</div>
<div class="cMain">
<div class="cMain-bg">
    <div class="container">
        <ul class="nav-list">
            <?php $menulist = getmenudata(101) ?>
            <?php foreach($menulist as $key=>$val){ ?>
            <?php if($val['menusys0']==102){ ?>
            <li <?php if($val['menusys0']==102){ ?> class="active"<?php }?> ><a href="<?php echo getmenuurl($val['menusys0']) ?>"><?php echo $val['menusys1']; ?></a></li>
            <?php }elseif($val['menusys0']==103){ ?>
            <li <?php if($val['menusys0']==102){ ?> class="active"<?php }?>><a href="<?php echo getmenuurl($val['menusys0']) ?>"><?php echo $val['menusys1']; ?></a></li>
            <?php }elseif($val['menusys0']==104){ ?>
            <li <?php if($val['menusys0']==102){ ?> class="active"<?php }?>><a href="<?php echo getmenuurl($val['menusys0']) ?>"><?php echo $val['menusys1']; ?></a></li>
            <?php }?>
            <?php }?>
        </ul>
    </div>
</div>
<div class="cMain-cont">
<div class="container">
<div id="cM1" class="show contshow">
    <div class="cMain-box row">
       <?php echo $contents['onepagesys6']; ?>
    </div>
</div>
</div>
</div>
</div>
<div class="footer">
    <div class="container text-center">
        <div class="rexian"><s>招商热线：<?php echo $SystemSettings['setsys4']; ?></s></div>
        <div style="font-size: 16px;margin:2% auto 1%;">地址：<?php echo $SystemSettings['setsys2']; ?>   咨询热线：<?php echo $SystemSettings['setsys5']; ?>    邮箱：<?php echo $SystemSettings['setsys8']; ?></div>
        <div class="erwei">
            <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_erweima=$T_db->table("sen_links")->order("")->where("sen_links1=100")->field("*")->limit("all")->page("")->selectlist();
					
	 				$erweima_page=$T_db->htmlpageshow;
					$erweima_sql=$T_db->sql;
	 					if($l_erweima==null){
 							$l_erweima=array();
 							echo "暂无数据!";
 						}
 						$erweima_count=count($l_erweima);
	 					foreach($l_erweima as $erweima_key=>$erweima){
	 		?>
            <img src="<?php echo $erweima['sen_links5']; ?>"/>
            <?php }?>
        </div>
    </div>
</div>
<div class="footer-text">
    <p>©2016 <?php echo $SystemSettings['setsys7']; ?>  <?php echo $SystemSettings['setsys10']; ?></p>
    <p>黔韵原山  地址：<?php echo $SystemSettings['setsys2']; ?></p>
</div>

</body>
</html>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="<?php echo TPLPATH; ?>js/jquery-1.11.3.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="<?php echo TPLPATH; ?>js/bootstrap.min.js"></script>
<script>
    $(function(){
        /*轮播*/
        $('#carousel').carousel();
//    产业效果
        /*香草主题遮罩层*/
        $(".cMain-cont ul li").hover(function(){
            $(this).find(".v-wrap").stop().animate({height:"200px"},400);
            $(this).find(".v-wrap h1").stop().animate({paddingTop:"80px"},400);
        },function(){
            $(this).find(".v-wrap").stop().animate({height:"60px"},400);
            $(this).find(".v-wrap h1").stop().animate({paddingTop:"0px"},400);
        });
//  /*标签切换*/
//  $(".cMain-bg ul li").click(function(event){
//    if($(".cMain-bg ul li").hasClass(".active")){
//      $(this).siblings().removeClass("active");
//    }else{
//      $(this).addClass("active").siblings().removeClass("active");
//    }
//    event.preventDefault();
//    var src=event.target;
//    var href=$(src).attr('href');
//    if(!href){
//      return;
//    }
//    $(".cMain-cont>.container>.contshow").attr('class', 'hidden');
//    $(href).attr('class', 'show contshow');
//  });
//    $(".figcaption").each(function(i){
//      var divH = $(this).height();
//      var $p = $("p", $(this)).eq(0);
//      while ($p.outerHeight() > divH) {
//        $p.text($p.text().replace(/(\s)*([a-zA-Z0-9]+|\W)(\.\.\.)?$/, "..."));
//      };
//    });
    })
</script>
